package com.mvd.app.model;

import com.orm.SugarRecord;
import com.orm.dsl.Unique;

import java.io.Serializable;

/**
 * The type Video upload model.
 *
 * @ProjectName: PDA_38900_guizhou
 * @Package: com.mvd.app.model
 * @ClassName: VideoUploadModel
 * @Description: java类作用描述
 * @Author: liuxj
 * @CreateDate: 2020 -11-04 8:58
 * @UpdateUser: 更新者
 * @UpdateDate: 2020 -11-04 8:58
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */

/**
 * 创建数据库实体类
 *
 * @Entity 表示这个实体类一会会在数据库中生成对应的表，
 * @Id 表示该字段是id，注意该字段的数据类型为包装类型Long
 * @Property 则表示该属性将作为表的一个字段，其中nameInDb看名字就知道这个属性在数据库中对应的数据名称。
 * @Transient 该注解表示这个属性将不会作为数据表中的一个字段。
 * @NotNull 表示该字段不可以为空
 * @Unique 表示该字段唯一
 */

public class VideoUploadModel extends SugarRecord implements Serializable {

    Long id;
    String name;
    String path;
    String size;
    String statement;
    float progress;

    @Unique
    String VIN;
    String Times, PlatformSN, VideoType, ItemCode, PlateType, Line, CarNO, zp, StartTime, EndTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTimes() {
        return Times;
    }

    public void setTimes(String times) {
        Times = times;
    }

    public String getPlatformSN() {
        return PlatformSN;
    }

    public void setPlatformSN(String platformSN) {
        PlatformSN = platformSN;
    }

    public String getVideoType() {
        return VideoType;
    }

    public void setVideoType(String videoType) {
        VideoType = videoType;
    }

    public String getItemCode() {
        return ItemCode;
    }

    public void setItemCode(String itemCode) {
        ItemCode = itemCode;
    }

    public String getCarNO() {
        return CarNO;
    }

    public void setCarNO(String carNO) {
        CarNO = carNO;
    }

    public String getPlateType() {
        return PlateType;
    }

    public void setPlateType(String plateType) {
        PlateType = plateType;
    }

    public String getLine() {
        return Line;
    }

    public void setLine(String line) {
        Line = line;
    }

    public String getVIN() {
        return VIN;
    }

    public void setVIN(String VIN) {
        this.VIN = VIN;
    }

    public String getZp() {
        return zp;
    }

    public void setZp(String zp) {
        this.zp = zp;
    }

    public String getStartTime() {
        return StartTime;
    }

    public void setStartTime(String startTime) {
        StartTime = startTime;
    }

    public String getEndTime() {
        return EndTime;
    }

    public void setEndTime(String endTime) {
        EndTime = endTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getStatement() {
        return statement;
    }

    public void setStatement(String statement) {
        this.statement = statement;
    }

    public float getProgress() {
        return progress;
    }

    public void setProgress(float progress) {
        this.progress = progress;
    }

    @Override
    public String toString() {
        return "VideoUploadModel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", path='" + path + '\'' +
                ", size='" + size + '\'' +
                ", statement='" + statement + '\'' +
                ", progress=" + progress +
                ", VIN='" + VIN + '\'' +
                ", Times='" + Times + '\'' +
                ", PlatformSN='" + PlatformSN + '\'' +
                ", VideoType='" + VideoType + '\'' +
                ", ItemCode='" + ItemCode + '\'' +
                ", PlateType='" + PlateType + '\'' +
                ", Line='" + Line + '\'' +
                ", CarNO='" + CarNO + '\'' +
                ", zp='" + zp + '\'' +
                ", StartTime='" + StartTime + '\'' +
                ", EndTime='" + EndTime + '\'' +
                '}';
    }


}
